package org.advanced.util;

import java.util.ResourceBundle;

/**
 * @author John.zhang
 * @version Id: TTLProducer, v 1.0 2020/11/26 18:47 ZhiYong Exp $
 */

public class ResourceUtil {
    private static final ResourceBundle resourceBundle;

    static{
        resourceBundle = ResourceBundle.getBundle("config");
    }

    public static String getKey(String key){
        return resourceBundle.getString(key);
    }

}
